package com.cmas.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cmas.platform.domain.ApproveRecord;
import com.cmas.platform.domain.OperatorApply;
import com.cmas.platform.vo.OperatorApplyVo;

import java.util.List;

/**
 * 运营申请表Service接口
 * @author su
 * @email 1218819874@qq.com
 * @date 2024-06-01
 */
public interface OperatorApplyService extends IService<OperatorApply> {


    /**
     * 查询运营申请表数组
     * @param operatorApply 实体
     * @return 结果
     */
    public List<OperatorApply> selectOperatorApplyList(OperatorApply operatorApply);

    public List<OperatorApplyVo> selectOperatorApplyVoList(OperatorApply operatorApply);

    /**
     * 批量删除运营申请表
     * @param ids 需要删除的运营申请表ID集合
     * @return 结果
     */
    public int deleteOperatorApplyByIds(String[] ids);

    void approve(ApproveRecord approveRecord);

    OperatorApply saveOperatorApply(OperatorApply operatorApply);

    int updateOperatorApply(OperatorApply operatorApply);

    boolean apply();

    int remainingOperatorApplyTime();
}
